import request from '@/utils/request'

// 试剂产品查询
export function listReagent(query) {
  return request({
    url: '/sjt/product/list',
    method: 'get',
    params: query
  })
}

// 新增试剂
export function newReagent(data) {
  return request({
    url: '/sjt/product',
    method: 'post',
    data
  })
}

// 删除试剂
export function delReagent(id) {
  return request({
    url: '/sjt/product/' + id,
    method: 'delete'
  })
}

// 修改试剂
export function editReagent(data) {
  return request({
    url: '/sjt/product',
    method: 'put',
    data,
  })
}
